package com.example.iceserverdemo.utils;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class TimeUtil {
    public static final DateTimeFormatter StandardFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");

    public static final LocalDateTime getNow() {
        return LocalDateTime.now();
    }

    public static final String getNowString() {
        return getNow().format(StandardFormatter);
    }
}
